<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary">
    <ion-title>登录</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item>
      <ion-label floating color="primary">用户名</ion-label>
      <ion-input type="text" [(ngModel)]="userInfo.userCode" clearInput></ion-input>
    </ion-item>
    <ion-item>
      <ion-label floating color="primary">密码</ion-label>
      <ion-input type="password" [(ngModel)]="userInfo.password" clearInput></ion-input>
    </ion-item>
  </ion-list>

  <div >
    <button ion-button color="primary" (click)="btnClick()"  block>登录</button>
  </div>
  <div class="box" >
    <a class="box-left" (click)="toRegister()">注册新用户</a>
    <a class="box-right" (click)="toFindPwd()">找回密码</a>
  </div>
</ion-content>
